-- GENERATED SPELL FOR [Forest Swarmer] --


function spell0_33431(pUnit, Event) --@Pollinate,n/a--
pUnit:FullCastSpellOnTarget(63059,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33431', 32000, 1)
end

function Sorts_33431(pUnit, Event)
local choix_sorts_33431 = math.random(0, 0)
if choix_sorts_33431 == 0 then
pUnit:RegisterEvent('spell0_33431', 1, 1)
end
end

function mob33431_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33431', math.random(1500, 3000), 1)
end

function mob33431_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33431_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33431_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33431, 1, 'mob33431_Action')
RegisterUnitEvent(33431, 2, 'mob33431_Leave')
RegisterUnitEvent(33431, 3, 'mob33431_Kill')
RegisterUnitEvent(33431, 4, 'mob33431_Die')
